using System;
using Twitterizer;

namespace twittersearch
{
    public class Twitter
    {
        public void In_Search(string query) {
            var searchOptions = new SearchOptions {
                ResultType = SearchOptionsResultType.Recent
            };
            var results = Twitterizer.TwitterSearch.Search(query, searchOptions);
            Out_Result(results);
        }

        public event Action<TwitterSearchResultCollection> Out_Result;
    }
}